<%@page import="com.sbl.bajw.common.PrivilegeUtil"%>
<%@page import="java.util.Calendar"%>
<%@page import="com.sbl.bajw.common.web.SessionUnit"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String userName = SessionUnit.getUserName();
	Calendar cal = Calendar.getInstance();
	int hour = cal.get(Calendar.HOUR_OF_DAY);
	String time = "";
	hour=hour==0?24:hour;
	if(hour<12 && hour>=6){
		time = "早上好";
	}else if(12<=hour && hour<18){
		time = "下午好";
	}else if(18<=hour && hour<24){
		time = "晚上好";
	}else{
		time = "凌晨了";
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>警务地图</title>
<%@include file="../common/prama.jsp" %>
<link href="${burl }/css/main.css" type="text/css" rel="stylesheet" />
<link href="${burl }/css/map.css" type="text/css" rel="stylesheet" />
<link href="${burl }/css/grid.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/menu.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/dialog.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/common.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/widgetsGrid.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/js/common/jquery/easyui/jquery.datetimepicker.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/dialog.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/DrawingManager/1.4/src/DrawingManager_min.js"></script>
<link rel="stylesheet" href="http://api.map.baidu.com/library/DrawingManager/1.4/src/DrawingManager_min.css" />
<script type="text/javascript" src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/Heatmap/2.0/src/Heatmap_min.js"></script>
<script type='text/javascript' src='${burl }/js/common/jquery/jquery-1.8.2.min.js?null'></script>
<script type='text/javascript' src='${burl }/js/common/jquery/easyui/jquery.datetimepicker.js'></script>
<script type='text/javascript' src='${burl }/js/common/common.js'></script>
<script type='text/javascript' src='${burl }/js/common/widgets/widgetsGrid.js'></script>
<script type='text/javascript' src='${burl }/js/common/BaiduMapCommon.js'></script>
<script type="text/javascript" src="${burl }/js/business/modelDao.js"></script>
<script type="text/javascript" src="${burl }/js/business/map/mapIndex.js"></script>
<script type="text/javascript" src="${burl }/js/business/map/PoliceMap.js"></script>
<script type="text/javascript" src="${burl }/js/business/map/PoliceWorkMap.js"></script>
<script type="text/javascript" src="${burl }/js/business/map/PoliceCaseMap.js"></script>
<script type="text/javascript" src="${burl }/js/business/orgSelecter.js"></script>
<script type='text/javascript' src='${burl }/js/business/sendOrder.js'></script>

</head>
<body >
<div class="header" id="header">
			<div>
				<img src="${burl }/images/top.jpg" class="top"/>
				<div id="userName" class="userName">
					<span><%=time %>:</span>&nbsp;<span><%=userName %></span>
					&nbsp;<span>|</span>&nbsp;
					<%
						if(PrivilegeUtil.GetInstance().hasPrivilege("admin_system")){
					%>
						<a id="into_back" target='_blank' style="cursor: pointer;"><span style="color: #FFF;">进入后台</span></a>
						&nbsp;<span>|</span>&nbsp;
					<%		
						}
					%>
					
					<a id="exit_session" target='_blank' style="cursor: pointer;"><span style="color: #FFF;">注销</span></a>
				</div>
				<div class="menu" id="menu"></div>
				<div class="org_xuanxiangka">
						<div class="xuanxiangka" id="xuanxiangka">
							<div tag="z1" zoom='15' fullid='0-1-' mapx='113.918529000000' mapy='22.561205000000' pid="1" selected="selected" class="xuanzheqi" style="margin-left: 15px;">
								<div id="bafj" class="mc" pid="1">宝安分局</div>
								<div class="set-iamge" imagesize="1">
									<img src="${burl }/images/10.png"/>
								</div>
								<div class="paichusuoxinxi" id="paichusuoxinxi" under="1">
									<div class="close">
										<img src="${burl }/images/main-images/close.png" />
									</div>
									<div ajaxUnderOrg="org-down"></div>
								</div>
							</div>
							<div tag="z2" zoom='15' class="xuanzheqi">
								<div id="paichusuo" class="mc"></div>
								<div class="set-iamge" imagesize="2">
									<img src="${burl }/images/10.png"/>
								</div>
								<div class="xiaquxinxi" id="xiaquxinxi" under="1">
									<div class="close">
										<img src="${burl }/images/main-images/close.png" />
									</div>
									<div ajaxUnderOrg="org-down"></div>
								</div>
							</div>
							<div tag="z3"class="xuanzheqi" zoom='16'>
								<div id="xiaqu" class="mc"></div>
								<div class="set-iamge" imagesize="3">
									<img src="${burl }/images/10.png"/>
								</div>
								<div class="zerenquxinxi" id="zerenquxinxi" under="1">
									<div class="close">
										<img src="${burl }/images/main-images/close.png" />
									</div>
									<div ajaxUnderOrg="org-down"></div>
								</div>
							</div>
							<div tag="z4" id="shequ" class="xuanzheqi">
								<div id="zerenqu" class="mc"></div>
							</div>
						</div>
					</div>
					<div class="tab-div">
						<ul class="tab" id="tab">
							<li tag="zonggai">总概</li>
							<li tag="grid">列表</li>
							<li tag="map" class="selected">地图</li>
						</ul>
					</div>
			</div>
		</div>
	<div class="container">
		<div class="filter" id="filter">
			<div>
				<p class="menuTitle">警力 <a class="selectAll">取消</a></p>
				<ul tag="jl" controller="Police" class="menuList" selected="selected">
					<li tag="6" selected="selected" class="selected">民&nbsp;&nbsp;&nbsp;警</li>
				 	<li tag="1" selected="selected" class="selected">第一支队伍</li>
				 	<li tag="2" selected="selected" class="selected">第二支队伍</li>
				 	<li tag="3" selected="selected" class="selected">第三支队伍</li>
				 	<li tag="4" selected="selected" class="selected">第四支队伍</li>
				 	<li tag="5" selected="selected" class="selected">第五支队伍</li>
				</ul>
			</div>
			<div>
				<p class="menuTitle">警情<a class="selectAll">全选</a></p>
				<ul  style="display:none" tag="jq" controller="PoliceCase" class="menuList">
				 	<li orderfile='criminal' tag="criminal">刑事警情</li>
				 	<li orderfile = 'EIGHT_CATEGORY' tag="eightCategory">八类</li>
				 	<li orderfile = 'TWO_ROB' tag=rob>两抢</li>
				 	<li orderfile = 'THEFT_OF_ALL' tag="theftOfAll">盗窃警情</li>				 	
				</ul>
			</div>
			<div>
				<p class="menuTitle">警务信息<a class="selectAll">全选</a></p>
				<ul style="display:none" controller="PoliceWork" tag="jw" class="menuList">
				 	<li tag="chuzuwu">出租屋</li>
				 	<li tag="zdry">涉毒人员</li>
				 	<li tag="zddw">平安促进会重点单位</li>
				 	<li tag='poi' poiType="20">派出所</li>
					<li tag='poi' poiType="21">警务室</li>
					<li tag='poi' poiType="22">护卫点</li>
					<li tag='poi' poiType="23">学校</li>
					<li tag='poi' poiType="24">医院</li>
					<li tag='poi' poiType="25">警务工作站</li>
					<li tag='poi' poiType="26">政府部门</li>
					<li tag='poi' poiType="27">公园广场</li>
					<li tag='poi' poiType="28">工业区</li>
					<li tag='poi' poiType="29">加油站</li>
					<li tag='poi' poiType="7006">摩托车店</li>
					<li tag='poi' poiType="8327">网吧</li>
					<li tag='poi' poiType="8328">网络出租屋</li>
					<li tag='poi' poiType="32851">电子游艺场所</li>
					<li tag='poi' poiType="32852">印章刻制业</li>
					<li tag='poi' poiType="32853">废旧业</li>
					<li tag='poi' poiType="32854">歌舞娱乐场所</li>
					<li tag='poi' poiType="32855">开锁业</li>
					<li tag='poi' poiType="32856">旅馆业</li>
					<li tag='poi' poiType="32857">旅业式出租屋</li>
					<li tag='poi' poiType="32858">典当业</li>
					<li tag='poi' poiType="32859">休闲娱乐场所</li>
					<li tag='poi' poiType="36101">机动警力</li>
					<li tag='poi' poiType="36132">行政区划分局</li>
					<li tag='poi' poiType="36293">一级巡段</li>
					<li tag='poi' poiType="36294">二级巡段</li>
					<li tag='poi' poiType="36295">三级巡段</li>
					<li tag='poi' poiType="36302">岗亭</li>
					<li tag='poi' poiType="36303">公交站台</li>
					<li tag='poi' poiType="36304">邻里守望点</li>
					<li tag='poi' poiType="562673">治安举报</li>
					<li tag='poi' poiType="562674">消防举报</li>
					<li tag='poi' poiType="562675">警情现场</li>
					<li tag='poi' poiType="562676">情指指令反馈</li>
					<li tag='poi' poiType="565313">银行</li>
					<li tag='poi' poiType="565314">ATM柜员机</li>
					<li tag='poi' poiType="565315">社区居委会</li>
					<li tag='poi' poiType="565316">大型商场</li>
					<li tag='poi' poiType="565317">人才市场</li>
					<li tag='poi' poiType="565318">配送水店</li>
					<li tag='poi' poiType="567331">行政区划派出所</li>
					<li tag='poi' poiType="567332">行政区划警区</li>
					<li tag='poi' poiType="569163">涉疆人员聚集地</li>
					<li tag='poi' poiType="569204">24小时便利店</li>
					<li tag='poi' poiType="569205">交通场所</li>
					<li tag='poi' poiType="569206">旅行社</li>
					<li tag='poi' poiType="569207">煤气配送</li>
					<li tag='poi' poiType="569208">外卖快餐</li>
					<li tag='poi' poiType="569209">物流公司</li>
					<li tag='poi' poiType="569210">移动通信营业厅</li>
					<li tag='poi' poiType="569360">房屋中介</li>
					<li tag='poi' poiType="572464">出租屋小区</li>
					<li tag='poi' poiType="573879">LED显示屏</li>
					<li tag='poi' poiType="611802">治安卡点观察哨</li>
					<li tag='poi' poiType="614066">卡口识别点</li>
					<li tag='poi' poiType="620916">警区责任田划分</li>
					<li tag='poi' poiType="653770">寄递企业</li>
				</ul>
			</div>
		</div>
		<div class="main" style="float: left;">
			<div id="map_fa_info_table_div" ></div>
			<div id="panel_switch" class="panel_closer"></div>
			<div tag="map" id="mapDiv" class="ditu"></div>
		</div>
	</div>
	<div id="temcontent" style="display:none">
				<div id="list_div_context">
					<div style="display:none" class="map_list_title" dw="1">第一支队</div>
					<ul style="display:none" dw="1">
					</ul>
					<div style="display:none" class="map_list_title" dw="2">第二支队</div>
					<ul style="display:none" dw="2">
					</ul>
					<div style="display:none" class="map_list_title" dw="3">第三支队</div>
					<ul style="display:none" dw="3">
					</ul>
					<div style="display:none" class="map_list_title" dw="4">第四支队</div>
					<ul style="display:none" dw="4">
					</ul>
					<div style="display:none" class="map_list_title" dw="5">第五支队</div>
					<ul style="display:none" dw="5">
					</ul>
					<div style="display:none" class="map_list_title" dw="6">民警</div>
					<ul style="display:none" dw="6">
					</ul>
				</div>
				<div id="map_list_sendorder_btn">发送指令</div>
			</div>
</body>
</html>